package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.GrainsituationRecordDetail;
import com.ruoyi.system.domain.SectorDTO;

/**
 * 粮情主下的详情Service接口
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
public interface IGrainsituationRecordDetailService 
{
    /**
     * 查询粮情主下的详情
     * 
     * @param id 粮情主下的详情主键
     * @return 粮情主下的详情
     */
    public GrainsituationRecordDetail selectGrainsituationRecordDetailById(Long id);

    /**
     * 查询粮情主下的详情列表
     * 
     * @param grainsituationRecordDetail 粮情主下的详情
     * @return 粮情主下的详情集合
     */
    public List<GrainsituationRecordDetail> selectGrainsituationRecordDetailList(GrainsituationRecordDetail grainsituationRecordDetail);

    /**
     * 新增粮情主下的详情
     * 
     * @param grainsituationRecordDetail 粮情主下的详情
     * @return 结果
     */
    public boolean insertGrainsituationRecordDetail(GrainsituationRecordDetail grainsituationRecordDetail);

    /**
     * 修改粮情主下的详情
     * 
     * @param grainsituationRecordDetail 粮情主下的详情
     * @return 结果
     */
    public boolean updateGrainsituationRecordDetail(GrainsituationRecordDetail grainsituationRecordDetail);

    /**
     * 批量删除粮情主下的详情
     * 
     * @param ids 需要删除的粮情主下的详情主键集合
     * @return 结果
     */
    public boolean deleteGrainsituationRecordDetailByIds(Long[] ids);

    /**
     * 删除粮情主下的详情信息
     * 
     * @param id 粮情主下的详情主键
     * @return 结果
     */
    public boolean deleteGrainsituationRecordDetailById(Long id);

    SectorDTO getRecordDetailList(GrainsituationRecordDetail grainsituationRecordDetail);
}
